/* 头像上传区域 */
.settings-avatar-section {
  width: 100px;
  height: 100px;
}

.settings-section {
  margin-top: 20px;
}

.setting-label {
  color: #000;
  margin-right: 20rpx;
}

.setting-switch {
  font-size: 20rpx;
  margin-top: 5rpx;
}

.setting-item {
  display: flex;
  height: 75px;
  margin-bottom: 10rpx;
  justify-content: center;
  align-items: center;
}

/* 统一按钮样式 */
.settings-update-avatar-btn,
.settings-cancel-btn,
.settings-update-phone-btn {
  height: 50rpx;
  width: 180rpx;
  font-size: 24px;
  background-color: transparent;
  border: 1px solid #f0f0f0;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-left: 0;
  flex-shrink: 0;
  margin-right: 10px;
  z-index: 10; 
}

/* 按钮特定颜色 */
.settings-update-avatar-btn,
.settings-update-phone-btn {
  color: #1890ff;
}

.settings-cancel-btn {
  color: #999;
}

/* 标签样式 */
.settings-info-label {
  color: #999;
  width: 120rpx;
  display: inline-block;
  margin-right: 16rpx;
}

/* 用户信息卡片 */
.settings-user-info-card {
  background-color: #fff;
  border-radius: 16rpx;
  padding: 30rpx;
  margin-bottom: 30rpx;
  box-shadow: 0 2rpx 10rpx rgba(0, 0, 0, 0.05);
  display: flex;
  align-items: flex-start;
  justify-content: flex-start;
  flex-direction: column;
  width: 100%;
}

/* 统一输入框样式 - 确保长度一致 */
.settings-user-name {
  color: #333;
  width: calc(100% - 350rpx); /* 固定宽度，确保输入框长度一致 */
  height: 50rpx;
  padding: 3rpx;
  margin-bottom: 0;
  border: 1px solid #f0f0f0;
  margin-right: 220rpx; /* 为右侧按钮留出固定空间 */
  flex-shrink: 0;
}

/* 设置行容器 - 确保按钮居右显示和垂直对齐 */
.settings-info-section {
  display: flex;
  width: 100%;
  align-items: center;
  justify-content: flex-start;
  flex-direction: row;
  margin-bottom: 20px;
  height: 80rpx;
  position: relative;
}

/* 确保所有按钮居右显示和垂直对齐 */
.settings-info-section {
  position: relative;
}

/* 为按钮容器添加固定的右侧定位，确保垂直对齐和居右显示 */
.settings-info-section .settings-update-avatar-btn,
.settings-info-section .settings-cancel-btn,
.settings-info-section .settings-update-phone-btn {
  position: absolute;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 200rpx;
  height: 50rpx;
  margin-right: 10px;
}

.settings-section-title {
  color: #999;
  padding: 20rpx 30rpx 10rpx;
}

.settings-textarea {
  padding: 10rpx;
  height: 80px;
  width: 45vh;
  border: 1px solid #f0f0f0;
}

.setting-submit-btn {
  margin-top: 20px;
}